Return-path: Envelope-to: info@gluglug.org.uk Delivery-date: Fri, 04 Dec 2015 17:10:54 +0100 Received: from lists.gnu.org ([2001:4830:134:3::11]) by web006.ispnoc.net with esmtps (TLSv1:AES256-SHA:256) (Exim 4.85) (envelope-from ) id 1a4swg-00062N-3J for info@gluglug.org.uk; Fri, 04 Dec 2015 17:10:54 +0100 Received: from localhost ([::1]:41772 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1a4sxP-0001CF-Pg for info@gluglug.org.uk; Fri, 04 Dec 2015 11:11:39 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:51253) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1a4swq-0000Ub-R2 for grub-devel@gnu.org; Fri, 04 Dec 2015 11:11:08 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1a4swp-0001gz-TF for grub-devel@gnu.org; Fri, 04 Dec 2015 11:11:04 -0500 Received: from mail.base45.de ([80.241.61.77]:57535) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1a4swp-0001go-O8 for grub-devel@gnu.org; Fri, 04 Dec 2015 11:11:03 -0500 Received: from [2001:1a80:2259:2b1a:6042:6096:1de7:42c6] (helo=lazus.yip) by mail.base45.de with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA256:128) (Exim 4.82) (envelope-from ) id 1a4swj-0004UO-KJ; Fri, 04 Dec 2015 17:10:58 +0100 From: Alexander Couzens To: grub-devel@gnu.org Subject: [PATCH 3/3] Makefile: use FIXED_TIMESTAMP for mkstandalone if set Date: Fri, 4 Dec 2015 17:10:44 +0100 Message-Id: <1449245444-17579-4-git-send-email-lynxis@fe80.eu> X-Mailer: git-send-email 2.6.3 In-Reply-To: <1449245444-17579-1-git-send-email-lynxis@fe80.eu> References: <1449245444-17579-1-git-send-email-lynxis@fe80.eu> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 80.241.61.77 Cc: Alexander Couzens X-BeenThere: grub-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: The development of GNU GRUB List-Id: The development of GNU GRUB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: grub-devel-bounces+info=gluglug.org.uk@gnu.org Sender: grub-devel-bounces+info=gluglug.org.uk@gnu.org mkstandalone sets timestamps for files which can be overriden by a fixed_timestamp. This makes it possible to build reproducible builds for coreboot. To build a reproducible build of grub for coreboot do: make default_payload.elf FIXED_TIMESTAMP=1134242 --- Makefile.am | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile.am b/Makefile.am index 994ebbd..37a7cc4 100644 --- a/Makefile.am +++ b/Makefile.am @@ -403,7 +403,7 @@ bootcheck: $(BOOTCHECKS) if COND_i386_coreboot default_payload.elf: grub-mkstandalone grub-mkimage - pkgdatadir=. ./grub-mkstandalone --grub-mkimage=./grub-mkimage -O i386-coreboot -o $@ --modules='ahci pata ehci uhci ohci usb_keyboard usbms part_msdos xfs ext2 fat at_keyboard part_gpt usbserial_usbdebug cbfs' --install-modules='ls linux search configfile normal cbtime cbls memrw iorw minicmd lsmmap lspci halt reboot hexdump pcidump regexp setpci lsacpi chain test serial multiboot cbmemc linux16 gzio echo help' --fonts= --themes= --locales= -d grub-core/ /boot/grub/grub.cfg=$(srcdir)/coreboot.cfg + pkgdatadir=. ./grub-mkstandalone --grub-mkimage=./grub-mkimage -O i386-coreboot -o $@ --modules='ahci pata ehci uhci ohci usb_keyboard usbms part_msdos xfs ext2 fat at_keyboard part_gpt usbserial_usbdebug cbfs' --install-modules='ls linux search configfile normal cbtime cbls memrw iorw minicmd lsmmap lspci halt reboot hexdump pcidump regexp setpci lsacpi chain test serial multiboot cbmemc linux16 gzio echo help' --fonts= --themes= --locales= -d grub-core/ /boot/grub/grub.cfg=$(srcdir)/coreboot.cfg $(if $(FIXED_TIMESTAMP),-t $(FIXED_TIMESTAMP)) endif endif -- 2.6.3 _______________________________________________ Grub-devel mailing list Grub-devel@gnu.org https://lists.gnu.org/mailman/listinfo/grub-devel